package com.oct.website.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/manage")
public class ManageController {
	
	@RequestMapping("")
	public ModelAndView test(Model model){
		
		ModelAndView mv = new ModelAndView("/manage/main");
		//List<UserInfo> userList = userInfoMapper.selectList(null);
		
		//mv.addObject("userList", userList);
		//userList=userDao.getAll();
		return mv;
	}
	
	@RequestMapping("/login.html")
	public ModelAndView login(Model model){ 
		ModelAndView mv = new ModelAndView("/manage/login");
		
		return mv;
	}
}
